RemoveImageDescriptionExtension
TheRemoveImageDescriptionExtension
function allows you to remove an extension based on its type or index.
pascal OSErr RemoveImageDescriptionExtension (ImageDescription **desc, long type, long index);
desc
- Contains a handle to the appropriate image description structure.
type
- Specifies the extension's type, starting at 1. Use this parameter to specify the data type of the extension to be removed. This parameter contains a four-character code, similar to an
OSType
field value. Set the value of this parameter to 0 to indicate that any extension should be matched, with theindex
parameter becoming an index into all of the extensions.index
- Specifies the extension's index value.
RESULT CODE
codecExtensionNotFoundErr -8971 Requested extension is not in the image description
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help